package cn.car.common;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("unchecked")
public interface IBaseDAO {

	public Object getObject(Class clazz, Serializable id);
	
	public List getObjects(Class clazz);
	
	public void saveObject(Object o);
	
	public void removeObject(Class clazz, Serializable id);

	public void updateObject(Object o);
	
	public void deleteObject(Object o);

	public void saveOrUpdate(Object o);
}
